public class Productos

   private _codproducto as Int32
   public property codproducto() as Int32
       get
           return _codproducto
       end get

       set(byval value as Int32)
           _codproducto = value
       end set
   end property

   private _descripcion as String
   public property descripcion() as String
       get
           return _descripcion
       end get

       set(byval value as String)
           _descripcion = value
       end set
   end property

   private _cantexistente as Int32
   public property cantexistente() as Int32
       get
           return _cantexistente
       end get

       set(byval value as Int32)
           _cantexistente = value
       end set
   end property

   private _cantmin as Int32
   public property cantmin() as Int32
       get
           return _cantmin
       end get

       set(byval value as Int32)
           _cantmin = value
       end set
   end property

   private _cantmax as Int32
   public property cantmax() as Int32
       get
           return _cantmax
       end get

       set(byval value as Int32)
           _cantmax = value
       end set
   end property

   private _codunimed as Int32
   public property codunimed() as Int32
       get
           return _codunimed
       end get

       set(byval value as Int32)
           _codunimed = value
       end set
   end property

   private _codtipoproducto as Int32
   public property codtipoproducto() as Int32
       get
           return _codtipoproducto
       end get

       set(byval value as Int32)
           _codtipoproducto = value
       end set
   end property

   private _utilidad as Decimal
   public property utilidad() as Decimal
       get
           return _utilidad
       end get

       set(byval value as Decimal)
           _utilidad = value
       end set
   end property

   private _costomano as Decimal
   public property costomano() as Decimal
       get
           return _costomano
       end get

       set(byval value as Decimal)
           _costomano = value
       end set
   end property

   private _precioventa as Decimal
   public property precioventa() as Decimal
       get
           return _precioventa
       end get

       set(byval value as Decimal)
           _precioventa = value
       end set
   end property
    Private _totalmateriales As Decimal
    Public Property totalmateriales() As Decimal
        Get
            Return _totalmateriales
        End Get

        Set(ByVal value As Decimal)
            _totalmateriales = value
        End Set
    End Property
end class
